using B.Z.Inventory.API.Read.DTO;
using B.Z.Inventory.ErrorCode;
using MediatR;

namespace B.Z.Inventory.API.Read.Application.Command
{
    /// <summary>
    /// 货品库存数量占比查询命令
    /// </summary>
    public class GoodsInventoryNumberCommand : IRequest<APIResult<GoodsInventoryNumberDto>>
    {
        /// <summary>
        /// 仓库ID（可选筛选条件）
        /// </summary>
        public int? StoreId { get; set; }
        
        /// <summary>
        /// 商品分类（可选筛选条件）
        /// </summary>
        public string? Category { get; set; }
        
        /// <summary>
        /// 返回条数限制（默认前10名）
        /// </summary>
        public int TopCount { get; set; } = 10;
    }
}